<?php

namespace app\common\lib\Ai;

interface Contract
{
    /**
     * ai大模型接口
     * @return mixed
     */
    public function chat($content, $aiCommand = '');

    /**
     * 长文生成接口
     * @param $content
     * @param string $aiCommand
     * @param array $role_dict
     * @return mixed
     */
    public function partsLongText($content, string $aiCommand = '', array $role_dict = []);

    public function generatedChapter($content);

    public function generatedDescWork($content,$aiCommand='');

    public function generatedContent($content,$aiCommand,$lang='');

    public function generatedBatchPrompt($content, $aiCommand = '', $gptVersion = '');

    public function generatedImagePrompt($content, $aiCommand = '');

    public function aiContentPartsToUser($content);
}